import 'babel-polyfill'
import Vue from 'vue'
import App from './App'
import fastclick from 'fastclick'
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
import router from './router/index.js'
import axios from 'axios'
import VueAxios from 'vue-axios'
import VueLazeLoad from 'vue-lazyload'
import store from './store'

import 'common/stylus/index.styl'
Vue.use(VueAxios, axios)
Vue.use(MintUI)
Vue.use(VueLazeLoad)

Vue.config.productionTip = false

// 移除移动端点击300ms延迟
fastclick.attach(document.body)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  render: h => h(App),
  router,
  store
})
